package com.ken.example;

import com.ken.core.XlsxProcessAbstract;

import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;

public class FileXlsxProcess extends XlsxProcessAbstract {
    private File file;
    public FileXlsxProcess(File file) {
        this.file = file;
    }

    @Override
    public InputStream getInputStream() throws IOException {
        return new FileInputStream(file);
    }
}
